home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C10 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.1 KB  |  86 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C10
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Statfun.exe \
  25.     Funobj.exe \
  26.     StaticDestructors.exe \
  27.     Statinit.exe \
  28.     Local.exe \
  29.     StaticMemberFunctions.exe \
  30.     Selfmem.exe \
  31.     Depend2.exe 
  32.  
  33. test: all 
  34.     Statfun.exe  
  35.     Funobj.exe  
  36.     StaticDestructors.exe  
  37.     Statinit.exe  
  38.     Local.exe  
  39.     StaticMemberFunctions.exe  
  40.     Selfmem.exe  
  41.     Depend2.exe  
  42.  
  43. bugs: \
  44.     StaticArray.exe 
  45.  
  46. Statfun.exe: Statfun.obj 
  47.     $(CPP) $(OFLAG)Statfun.exe Statfun.obj 
  48.  
  49. Funobj.exe: Funobj.obj 
  50.     $(CPP) $(OFLAG)Funobj.exe Funobj.obj 
  51.  
  52. StaticDestructors.exe: StaticDestructors.obj 
  53.     $(CPP) $(OFLAG)StaticDestructors.exe StaticDestructors.obj 
  54.  
  55. Statinit.exe: Statinit.obj 
  56.     $(CPP) $(OFLAG)Statinit.exe Statinit.obj 
  57.  
  58. StaticArray.exe: StaticArray.obj 
  59.     $(CPP) $(OFLAG)StaticArray.exe StaticArray.obj 
  60.  
  61. Local.exe: Local.obj 
  62.     $(CPP) $(OFLAG)Local.exe Local.obj 
  63.  
  64. StaticMemberFunctions.exe: StaticMemberFunctions.obj 
  65.     $(CPP) $(OFLAG)StaticMemberFunctions.exe StaticMemberFunctions.obj 
  66.  
  67. Selfmem.exe: Selfmem.obj 
  68.     $(CPP) $(OFLAG)Selfmem.exe Selfmem.obj 
  69.  
  70. Depend2.exe: Depend2.obj Depdefs.obj Depend.obj 
  71.     $(CPP) $(OFLAG)Depend2.exe Depend2.obj Depdefs.obj Depend.obj 
  72.  
  73.  
  74. Statfun.obj: Statfun.cpp ..\require.h 
  75. Funobj.obj: Funobj.cpp 
  76. StaticDestructors.obj: StaticDestructors.cpp 
  77. Statinit.obj: Statinit.cpp 
  78. StaticArray.obj: StaticArray.cpp 
  79. Local.obj: Local.cpp 
  80. StaticMemberFunctions.obj: StaticMemberFunctions.cpp 
  81. Selfmem.obj: Selfmem.cpp 
  82. Depdefs.obj: Depdefs.cpp Depend.h 
  83. Depend.obj: Depend.cpp Depend.h 
  84. Depend2.obj: Depend2.cpp Depend.h 
  85.  
  86.